/*
To change this license header, choose License Headers in Project Properties.
To change this template file, choose Tools | Templates
and open the template in the editor.
*/
/* 
    Created on : Apr 29, 2014, 11:36:18 PM
    Author     : BOM
*/

::-webkit-input-placeholder{
    color: #d9d9d9;
    font-style: italic
}

:-moz-placeholder{ /* Firefox 18- */
    color: #d9d9d9;
    font-style: italic  
}

::-moz-placeholder{  /* Firefox 19+ */
    color: #d9d9d9;
    font-style: italic
}

:-ms-input-placeholder{  
    color: #d9d9d9;
    font-style: italic
}


body{
    background-color: #259d8e;
    margin: 0px;
    font-size: 14pt;
    color: #1b1b1b;
    text-align: justify;
}

img{
    max-height: 100%;
    max-width: 100%;
}
ul{
    list-style-type: none;
    -webkit-margin-before: 0em;
    -webkit-margin-after: 1em;
    -webkit-margin-start: 10px;
    -webkit-margin-end: 20px;
    -webkit-padding-start: 20px;
}
a:link,a:visited {
    color:inherit;
    text-decoration:none;
}
a:hover,a:active {
    color:#259d8e;
    text-decoration:none;
}

#wrapper{
    position: relative;
    width: 1100px;
    top: 0px;
    margin: 0 auto 0 auto;
    background-color: #f8f8f8;
    -webkit-box-shadow: 0 0 20px rgba(0,0,0,.5);
    -moz-box-shadow: 0 0 20px rgba(0,0,0,.5);
    box-shadow: 0 0 20px rgba(0,0,0,.5);
}
#header{
    position: relative;
    height: 100px;
}


.cover{
    padding: 80px 0px;
    width: 100%;
    color: #f8f8f8;
    position: relative;
    background-image: -webkit-linear-gradient(-45deg, #0ec1ad, #00727c);
    background-image: -moz-linear-gradient(-45deg, #0ec1ad, #00727c);
    background-image: -o-linear-gradient(-45deg, #0ec1ad, #00727c);
    background-image: linear-gradient(135deg, #0ec1ad, #00727c);
}

.line_base, hr{
    background-color: #d9d9d9;
    height: 1px;
    width: 100%;
    opacity: .5;
}
#footer{
    height: 100px;
}
#footer >*{
    margin: auto;
}

#header >*{
    position: relative;
}
#logo{
    left: 50px;
    height: 60%;
    top: 20%;
    float: left;
}
#main_menu{
    right:50px;
    height: 60%;
    top: 20%;
    float: right;


}
.topnav{margin: auto 0px auto 20px;}

#main_menu .span{
    letter-spacing:14px;
}

a.topnav:hover,a.topnav:active {

}

.center-child{
    display: flex;
    align-items:center;
}

.button_base{
    height: 60px;
    width: auto;
    padding:0px 20px;
    background-color: #259d8e;
    display: flex;
    color:#f8f8f8;
    align-items:center;
}

.button_base:hover{
    background-color: #00727c;
}
.button_base *
{
    margin: auto;
}

.button_base *{
    color: #f8f8f8;
}

.icon_48{
    height:48px;
    width: 48px;
    /*background-color: #0ec1ad;*/
}

.icon_32{
    height:32px;
    width: 32px;
    /*background-color: #0ec1ad;*/
}

.home_article{
    position: relative;
    width: 1000px;
    display: table;
    margin: auto;
}

.cover_intro{
    margin: auto;
    display: flex;
}
.cover_intro >*{
    display: inline-flex;
}
.home_wrapper{
    position: relative;
    width: 1000px;
    margin: auto;
}


/*text style config*/
*{
    font-family: 'Open Sans' !important;
    font-weight: lighter;
}

h1{
    font-size: 32pt;
    font-weight: 600;    
    margin: auto;
}

h2{
    font-size: 28pt;
    font-weight: 600;
    margin: auto;
}

h3{
    font-size: 24pt;
    font-weight: 500;
    margin: auto;
}

h4{
    font-size: 20pt;
    font-weight: 400;
    margin: auto;
}

.color_text{
    color: #259d8e;
}


/*for Home site*/

#main_cover{
    /*height: 560px;*/
    font-size: 18pt;
    padding: 50px 0px;
}

#main_cover .home_article{
    position: relative;
    margin: auto;
    display: flex;
}

#someone_image{
    width: 150px;
    height: 150px;
    margin-right: 50px;
    /*background-color: red;*/
    /*float: left;*/
    /*margin: auto;*/
}



#someone_image img{

    transform:rotate(-10deg);
    -ms-transform:rotate(-10deg); /* IE 9 */
    -webkit-transform:rotate(-10deg); /* Opera, Chrome, and Safari */

    -webkit-box-shadow: 10px 10px 20px rgba(0,0,0,.25);
    -moz-box-shadow: 10px 10px 20px rgba(0,0,0,.25);
    box-shadow: 10px 10px 20px rgba(0,0,0,.25);
}

#someone_things {
    flex-direction: column;
}

#someone_things >*{
    text-align: center;
    font-style: italic;
}

.someone_slogan::before{
    content: "“ "; 
    font-size: 200%;
}

.someone_slogan::after{
    content: " ”";
    font-size: 200%;
}
.someone_slogan{

    font-weight: 100;
}

.someone_owner::before{
    content: "câu nói yêu thích của ";
    font-weight: 100;

}
.someone_owner{
    font-weight: bold;
    flex:1;
}

.someone_owner a{
    font-weight: bold;
}

.someone_owner a:hover{
    font-weight: bold;
    color: #d9d9d9;
}



#function_bar{
    margin-top: 20px;
    height: 60px;
    display: flex;

}

.function_bar{
    width: 32%;
    /*height: 100%;*/
    background-color: #9f9f9f;
    /*display: flex;*/
    margin: 0px auto;
    display: flex;

}

.function_bar >*{
    flex:1;

}
.function_bar:first-child,#article_area >*:first-child{
    margin-left: 0px;
}
.function_bar:last-child,#article_area >*:last-child{
    margin-right: 0px;
}

.function_bar *{
    border-style: none;
    font-size: 14pt;
    /*overflow: hidden;*/
}

.group_option{
    margin: 40px 20px 20px 20px;
    font-style: italic;
}

/*.search_form, .sort_list{
    height: 100%;
    width: 100%;
}*/


.search_value{
    border: #00727c;
    padding-left: 10px;
    padding-right: 10px;
    flex:1;
}

.search_value:focus{
}

.search_form{
    display: flex;
    flex-direction:row;
}

/*.sort_list{
    background-color: #259d8e;
    color: #f8f8f8;
}*/

.sort_list >*{
    /*box-shadow: 0 0 0 4px #259d8e inset;*/
    background-color: white;
    color: #1b1b1b;
    /*margin: 0px;*/
}

#article_area{
    /*height: 700px;*/
    display: flex;
    margin: 20px 0px;
    position: relative;
}

#article_area >*{

    background-color: white;
    /*margin: 0px auto;*/
    display: flex;
}
.main_article {
    width: 66%;
}

.large_article{
    width: 66%;
    /*display: flex;*/
    flex-direction: column;
    height:800px;
    /*flex:2;*/
    background-color: white;
}
.small_article{
    width: 32%;
    /*display: flex;*/
    flex-direction: column;
    height:600px;
    /*flex:2;*/
    background-color: white;
}

.small_article >*{
    display: inline-flex;
}
.large_article .image_article{
    background-color: #1b1b1b;
    height:440px;

}
.image_article{
    background-color: #1b1b1b;
    height:240px;

}
.image_article *{
    /*    margin: auto;*/
    /*background-color: inherit;*/
}
.image_article a{
    height: 100%;
    width: 100%;
    display: flex;
    align-items:center;
}
.image_article img{
    /*flex:1;*/
    min-width: 100%;
    /*min-height: 100%;*/
    max-height: 100%;
    /*min-width: 100%;*/
    margin: auto;
    /*min-width: 100%;*/
}

/*.image_article{
    overflow: hidden;
    flex:4;
    background-color: #1b1b1b;
}*/
/*------------------------------------*/
.article_details{
    /*height:120px;*/
    /*flex:1.5;*/
    /*background-color: red;*/  
    /*display: flex;*/
    flex-direction:column;
    color:#259d8e;
    border-bottom: solid #00727c 1px;
}

.article_details >*{
    padding: 10px 0px;
}
/*.article_details >div:first-child{
    flex:1.5;
}

.article_details >div:last-child{
    flex:1;
}*/


.article_imfomation, .basic_imfarmation, .analysis_information{
    display: flex;
}

.article_imfomation >*, .basic_imfarmation >.article_time, .analysis_information >*,.article_analysis >*{
    flex:1;
}


.basic_imfarmation .button_base{
    margin: auto 0px auto auto;
}
.small_article .basic_imfarmation .button_base{

    height:48px;
    font-size: 80%;
}

.basic_imfarmation .article_time span{
    margin: auto;
    margin-right: 20px;
}
.small_article .basic_imfarmation .article_time span{
    font-size: 80%;
}
.large_article .basic_imfarmation .article_time span:before{
    content: "Đăng ngày ";
}

.analysis_information{
    margin-top: 0;
    margin: 0px 10% 5%;
}

.analysis_information >div{
    flex-direction:column;
    margin: auto;
}
.article_imfomation{
    margin:auto 0px;
}

.large_article .article_title{
    font-size: 140%;
}
.article_title{
    margin:auto 20px;
    padding-bottom: 20px;
}
.article_title *{
    /*margin: auto 20px;*/
    /*font-size: 100%;*/
    /*font-weight: 700;*/

}
.article_intro{
    /*flex:1.5;*/
    /*background-color: blue;*/ 
    position: relative;
    height:120px;
    flex:1;
    display: flex;
    /*flex-direction:column;*/

}

.article_analysis{
    position: absolute;
    visibility: hidden;
    background-color: #259d8e;
    color: #f8f8f8;
    height:100%;
    width: 100%;
    display: flex;
    flex-direction:column;
}

.article_intro:hover .article_analysis{
    visibility: visible;
}

.article_analysis .article_owner{
    text-align: center;
    display: flex;
}
.article_analysis .article_owner a{
    margin:auto;
}
.article_analysis .article_owner a:hover{
    color: #d9d9d9;
}


.large_article .article_analysis .article_owner a >*:before{
    content: "Đăng tải bởi ";
    /*    font-size: 14pt;*/


}

.article_intro_content{
    overflow: hidden;
    margin: 20px;
    margin-bottom: 50px;
}

.article_intro_content p{
    margin: 0px;
}

.other_article{

    -ms-box-orient: horizontal;
    display: -webkit-box;
    display: -moz-box;
    display: -ms-flexbox;
    display: -moz-flex;
    display: -webkit-flex;
    display: flex;

    /*  -webkit-justify-content: space-around;
      justify-content: space-around;*/
    -webkit-flex-flow: row wrap;
    flex-flow: row wrap;
    -webkit-align-items: stretch;
    align-items: stretch;
    /*flex-direction:column;*/
}

.other_article >*{
    display: inline-flex;
    margin: 20px auto;
}

.other_article >*:nth-child(3n+1){
    margin-left: 0px;
}

.other_article >*:nth-child(3n+3){
    margin-right: 0px;
}


.field_list{
    position: absolute;
    width: 32%;
    height: 100%;
    right: 0;
    padding-top: 20px;
    bottom: 0px;
}

#field_tree >li {
    font-size: 110%;
    margin: 10px auto;
    font-weight: 900;
}

#field_tree >li li{
    font-size: 95%;
    margin: 5px auto;
}




.pages_bar{
    margin: 40px auto;
    height: 40px;
    /*background-color: background;*/
    width: 40%;
    display: flex;
}
.pages_bar .active_page{
    background-color: #0ec1ad;
}

.pages_bar >*{
    height: 100%;
    width: 40px;
    background-color: #259d8e;
    display: inline-block;
    margin: auto;

}

